home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_ai / global < prev    next >
Text File  |  1994-10-10  |  570b  |  26 lines

  1. global:
  2.  
  3. Syntax:    global ( VAR1 , VAR2 , VAR3, ... )
  4.  
  5. Description:
  6.  
  7.     The global statement forces a function to resolve specified
  8.     variable references with the global symbol table. There are no
  9.     restrictions on the placement of global declarations within a
  10.     function. But, since the global statement will not affect
  11.     variables used before the declaration, it is recommended that
  12.     the global declaration be used near the beginning of a
  13.     function. 
  14.  
  15.     X = function ( a )
  16.     {
  17.        local ( a )
  18.        global ( b )
  19.  
  20.        c = a*b;
  21.        return c;
  22.     };
  23.  
  24.  
  25. See Also: FUNCTION, local, static
  26.